put the value of (( correct / guess ) * 100) into card field scorethree
put the value of card field scorethree into tally
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=327 top=120 right=142 bottom=399
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: RETEST
----- HyperTalk script -----
on mouseUp
global tally
put 0 into tally
global guess
put 0 into guess
global correct
put 0 into correct
delete line 1 of card field scorethree
go to card id 53000
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=275 top=147 right=169 bottom=377
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: NEXT DISK
----- HyperTalk script -----
on mouseUp
global tally
if the value of card field average >= 75 then hide card field "covera"
if the value of card field average <= 74 then hide card field "coverb"
end mouseUp
-- part 5 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=265 top=175 right=326 bottom=400
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: coverb
-- part 6 (field)
-- low flags: 00
-- high flags: 0001
-- rect: left=402 top=87 right=294 bottom=505
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: covera
-- part 7 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=406 top=316 right=338 bottom=506
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: RESTORE
----- HyperTalk script -----
on mouseUp
show card field "covera"
show card field "coverb"
end mouseUp
-- part 8 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=265 top=44 right=66 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 128
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: SCORETWO
-- part 9 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=265 top=66 right=88 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 128
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: scorethree
-- part 10 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=265 top=91 right=113 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 128
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: average
-- part 11 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=324 top=91 right=114 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
set numberFormat to "00.00"
put the value of ((card field scoreone + card field scoretwo + card field scorethree ) / 3 ) into card field average
end mouseUp
-- part contents for background part 1
----- text -----
QUIZ
-- part contents for background part 2
----- text -----
Click on the SCORE button to determine how well you have done to this point in the quiz. The score is computed on the number of correct answers divided by the number of incorrect selections you made during the time you took this quiz. If you have taken all three quizzes, you may click on the word Average inside the box and the average score for all three quizzes will be computed. If you wish to go to the next disk in the series, click on the NEXT DISK button.